package edu.pitt.dbmi.odie.gapp.gwt.client.navigator;

import com.google.gwt.user.client.rpc.AsyncCallback;

import edu.pitt.dbmi.odie.gapp.gwt.client.dao.ODIE_DaoAnalysis;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface ODIE_NavigatorSelectionServiceAsync {
	void selectAnalysis(String id, AsyncCallback<ODIE_DaoAnalysis> callback);
	void selectDocument(String odieAnalysisId, String id, AsyncCallback<ODIE_DaoAnalysis> asyncCallback);
	void selectAnnotation(String odieAnalysisId, String odieDocumentId, String id, AsyncCallback<ODIE_DaoAnalysis> callback);
	void fetchCurrentDocument(AsyncCallback<String> callback);
	void fetchCurrentAnalysis(AsyncCallback<ODIE_DaoAnalysis> callback);
}
